<!DOCTYPE html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="../../../static_res/tld/spring.tld"%>  
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="my-taglib" prefix="my"%>  

<html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>法和药业后台管理系统</title>
    
        <!-- Bootstrap framework -->
            <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />
            <link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.min.css" />
        <!-- jQuery UI theme-->
            <link rel="stylesheet" href="lib/jquery-ui/css/Aristo/Aristo.css" />
		<!-- gebo blue theme-->
            <link rel="stylesheet" href="css/blue.css" id="link_theme" />
        <!-- breadcrumbs-->
            <link rel="stylesheet" href="lib/jBreadcrumbs/css/BreadCrumb.css" />
        <!-- tooltips-->
            <link rel="stylesheet" href="lib/qtip2/jquery.qtip.min.css" />
        <!-- notifications -->
            <link rel="stylesheet" href="lib/sticky/sticky.css" />    
        <!-- splashy icons -->
            <link rel="stylesheet" href="img/splashy/splashy.css" />
		<!-- colorbox -->
            <link rel="stylesheet" href="lib/colorbox/colorbox.css" />
		<!-- CLEditor -->
            <link rel="stylesheet" href="lib/CLEditor/jquery.cleditor.css" />
			
        <!-- main styles -->
            <link rel="stylesheet" href="css/style.css" />
			
           <!--  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans" /> -->
	
        <!-- Favicon -->
            <link rel="shortcut icon" href="favicon.ico" />
		<!-- 通用css -->
          <link rel="stylesheet" href="css_fahe/manage.css" />
        <!--[if lte IE 8]>
            <link rel="stylesheet" href="css/ie.css" />
            <script src="js/ie/html5.js"></script>
			<script src="js/ie/respond.min.js"></script>
        <![endif]-->
		
		<script>
			//* hide all elements & show preloader
			document.documentElement.className += 'js';
		</script>
    </head>
    <body>
		<div id="maincontainer" class="clearfix">
			<!-- header -->
            <header>
             	<%@ include file="maninc/managepagestop.jsp"%>
            </header>
                <div class="container-fluid" id="contentdiv">
			    <div class="row-fluid">
			    <div class="span12" >
				    <div class="span3" id="leftsilber">
				    	<%@ include file="maninc/managepagesleft.jsp"%>	
				    </div>
				    <div class="span9">
				    	
							<div class="chat_box">
								<div class="row-fluid">
									<div class="span12 chat_sidebar">
									
										<div class="chat_heading clearfix">
											<div class="btn-group pull-right">
												<a href="toaddnews" class="btn btn-mini ttip_t" title="新增新闻"><i class="icon-plus"></i></a>
											</div>
											法和动态
										</div>
										
										
										
										  <table class="table table-hover">
										  <thead>
										  <tr><th>#</th><th>名称</th><th>发布日期</th><th>操作</th></tr>
										  </thead>
										  <tbody>
										  
										  <c:forEach items="${rf.items}" var="du">  
												<tr>  
												    <td><c:out value="${du.id}"/></td>  
												    <td><c:out value="${du.name}"/></td>  
												    <td><fmt:formatDate value="${du.createdate}" type="both" pattern="yyyy-MM-dd"/></td>  
												    <td><a href="eidtnewsbyid?newsid=${du.id }">修改</a></td>
												</tr>  
										  </c:forEach>  
										  
										  </tbody>
										  </table>
										
									</div>
								</div>
							</div>
							
							
								<my:paging curr="${rf.currentPage}" total="${rf.pageCount}" size="${rf.pageSize}" href="shownewsbycategory?categoty=${categoty}"/>  
							    <div class="pagination" id="indexlist">
							    <ul>
							    <li><a href="#">Prev</a></li>
							    <li><a href="#">1</a></li>
							    <li><a href="#">2</a></li>
							    <li><a href="#">3</a></li>
							    <li><a href="#">4</a></li>
							    <li><a href="#">5</a></li>
							    <li><a href="#">Next</a></li>
							    </ul>
							    </div>
    
						</div>
				    </div>
			    </div>
			   </div>
        
        
            <script src="js/jquery.min.js"></script>
			<!-- smart resize event -->
			<script src="js/jquery.debouncedresize.min.js"></script>
			<!-- hidden elements width/height -->
			<script src="js/jquery.actual.min.js"></script>
			<!-- js cookie plugin -->
			<script src="js/jquery_cookie.min.js"></script>
			<!-- main bootstrap js -->
			<script src="bootstrap/js/bootstrap.min.js"></script>
			<!-- tooltips -->
			<script src="lib/qtip2/jquery.qtip.min.js"></script>
			
			<!-- CLEditor -->
			<script src="lib/CLEditor/jquery.cleditor.js"></script>
			<script src="lib/CLEditor/jquery.cleditor.icon.min.js"></script>
			
			<script>
				$(document).ready(function() {
					$("#collapseTwo").addClass('in');
					$("#collapseTwo").css('height','auto');
					//* show all elements & remove preloader
					setTimeout('$("html").removeClass("js")',1000);
				});
			</script>
		
		</div>
	</body>
</html>